:: this bat file should be run after publishing web-app to a temp dir
:: it simply wraps everything into a zip file so we can copy it to the web server

:: archiving
zip -r !.zip * -x zip.exe makezip.bat

:: delete all files except the zip (by making it hidden)
attrib +r +s !.zip
attrib +r +s makezip.bat

for /d /r . %%d in ("*") do rd /s /q "%%d"
del /s /q *

attrib -r -s !.zip
attrib -r -s makezip.bat
del makezip.bat